package com.itheima.case2.serviceiterface;

import com.itheima.case2.pojo.User;
import com.itheima.case2.vo.PageBean;

public interface UserService {

    //用户登录
    public User login(String username, String password);

    //用户分页查询
    public PageBean<User> findAllUsersByPage(int curPage, int pageSize);

    //修改用户的信息
    void updateUserById(User user);

    //添加用户信息
    void addUser(User user);
}
